/*
* rem适配移动端样式
* */
(function () {
    var docEl = document.documentElement,
        resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
        recalc = function () {
            var clientWidth = docEl.clientWidth;
            var clientHeight = docEl.clientHeight;
            if (!clientWidth) {
                return;
            }
            docEl.style.fontSize = 100*(clientWidth  / 1920)  + 'px';
            window.remSize = 100*(clientWidth  / 1920);
            console.log("【window】触发resize事件")
            console.log('width' + clientWidth + ',height' + clientHeight)
        };
    if (!document.addEventListener) {
        return;
    }
    window.addEventListener(resizeEvt, recalc, false);
    document.addEventListener('DOMContentLoaded', recalc, false);
}())

//监听客户端插件加载状态
window.addEventListener("resize",(e)=>{
    
  })
